﻿using System;
using System.Net;
using SilverQuery;
using SilverPortal;

namespace SilverPortalDemo
{
	public class DemoPortal : SilverPortalComponent
	{
		public override void ready()
		{
			base.Load(new Uri(CurrentUriPath() + "PortalConfig.xml?nocache=" + DateTime.Now.Millisecond), () =>
			{
			});

			@q("#openDebugConsole").click(e =>
			{
				@q("#debugConsole").show();
				return false;
			});
		}
	}
}
 